home *** CD-ROM | disk | FTP | other *** search
/ Pocket PC Game Programming / Pocket PC Game Programming.iso / source.exe / CH15 / Project01 / newres.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-23  |  924 b   |  42 lines

  1. #ifndef __NEWRES_H__
  2. #define __NEWRES_H__
  3.  
  4. #if !defined(UNDER_CE)
  5. #define UNDER_CE _WIN32_WCE
  6. #endif
  7.  
  8. #if defined(_WIN32_WCE)
  9.     #if !defined(WCEOLE_ENABLE_DIALOGEX)
  10.         #define DIALOGEX DIALOG DISCARDABLE
  11.     #endif
  12.     #include <commctrl.h>
  13.     #define  SHMENUBAR RCDATA
  14.     #if defined(WIN32_PLATFORM_PSPC) && (_WIN32_WCE >= 300)
  15.         #include <aygshell.h>
  16.         #define AFXCE_IDR_SCRATCH_SHMENU  28700
  17.     #else
  18.         #define I_IMAGENONE        (-2)
  19.         #define NOMENU            0xFFFF
  20.         #define IDS_SHNEW        1
  21.  
  22.         #define IDM_SHAREDNEW        10
  23.         #define IDM_SHAREDNEWDEFAULT 11
  24.     #endif // _WIN32_WCE_PSPC
  25.     #define AFXCE_IDD_SAVEMODIFIEDDLG 28701
  26. #endif // _WIN32_WCE
  27.  
  28. #ifdef RC_INVOKED
  29. #ifndef _INC_WINDOWS
  30. #define _INC_WINDOWS
  31.     #include "winuser.h"           // extract from windows header
  32.     #include "winver.h"   
  33. #endif
  34. #endif
  35.  
  36. #ifdef IDC_STATIC
  37. #undef IDC_STATIC
  38. #endif
  39. #define IDC_STATIC      (-1)
  40.  
  41. #endif //__NEWRES_H__
  42.